// Author: wsfuyibing <682805@qq.com>
// Date: 2025-05-01

package withdrawal

import (
	"server/app/http/models"
	"server/app/kind"
)

type Response struct {
	Balance        kind.Balance
	BalanceFreezed kind.Balance
}

func (o *Response) With(m *models.UserStatistic) *Response {
	o.Balance = m.Balance
	o.BalanceFreezed = m.BalanceFreezed
	return o
}
